<%@ page language="java"
	import="java.util.*,com.opensymphony.xwork2.util.*"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<!-- 疾病治疗查询 -->
<title>疾病治疗查询</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
</head>
<body>
	<s:property value="tip" />
	<s:form action="jibingchaxun">
		<s:textfield name="jibing_name" label="按疾病名称查询" />
		
		<s:select name="zhiliao_id" list="#session.zhiliaomap" listKey="key" 
			headerValue="--请选择治疗手段--" headerKey="1" listValue="value" label="按治疗手段查询" />
			
		<s:textfield name="zhiliao_result" label="按治疗结果查询" />
		<s:select name="fz_person" list="#session.yuangongmap" listKey="key"
			headerValue="--请选择负责人--" headerKey="1" listValue="value" label="按负责人查询" />
		<s:textfield name="eb_id" label="按耳标号查询" />
		
		<s:submit value="查询" />
	</s:form>
	<s:form action="" method="post">		
 
		<tr>
			<td>治疗ID</td>
			<td>疾病名称</td>
			<td>治疗手段</td>
			<td>治疗结果</td>
			<td>耳标号</td>
			<td>负责人</td>

		</tr>
		<s:iterator value="resultList" status="index" id="l">
			<s:if test="#index.odd == true">
				<tr style="background-color: #FFFF00">
			</s:if>
			<s:else>
				<tr>
			</s:else>
				<td><s:property value="#l.ID" /> </td>
				
				<td><s:property value="#l.jibing_name" /></td>
				<td><s:property value="#l.zhiliao_id" /></td>
				<td><s:property value="#l.zhiliao_result" /> </td>
				<td><s:property value="#l.EB_ID" /> </td>
				<td><s:property value="#l.FZ_Person" /></td>				
		</s:iterator>
	</s:form>	
</body>
</html>
